package com.codegeek.project.slope.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.codegeek.framework.aspectj.lang.annotation.Excel;
import com.codegeek.framework.web.domain.BaseEntity;

import java.util.Date;

/**
 * 历史视频对象 slope_history_video
 *
 * @author codegeek
 * @date 2020-02-17
 */
public class SlopeHistoryVideo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    private Long historyVideoId;

    /**
     * 摄像头
     */
    @Excel(name = "摄像头")
    private Long camera;

    /**
     * 开始时间
     */
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /**
     * 结束时间
     */
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    public void setHistoryVideoId(Long historyVideoId) {
        this.historyVideoId = historyVideoId;
    }

    public Long getHistoryVideoId() {
        return historyVideoId;
    }

    public void setCamera(Long camera) {
        this.camera = camera;
    }

    public Long getCamera() {
        return camera;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setEndTime2(Date endTime) {
        this.endTime = endTime;
    }

    public Date getEndTime2() {
        return endTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("historyVideoId", getHistoryVideoId())
                .append("camera", getCamera())
                .append("startTime", getStartTime())
                .append("endTime", getEndTime2())
                .append("createTime", getCreateTime())
                .append("createBy", getCreateBy())
                .toString();
    }
}
